var exec = require('cordova/exec');
var LocationRecordFunc =function(){};

LocationRecordFunc.prototype.startRecord=function(arg0,success,error)
{
    exec(success, error, 'LocationRecord', 'startRecord', [arg0]);
}

LocationRecordFunc.prototype.finishRecord=function(arg0,success,error)
{
    exec(success, error, 'LocationRecord', 'finishRecord', [arg0]);
}

LocationRecordFunc.prototype.getLocation=function(arg0,success,error)
{
    exec(success, error, 'LocationRecord', 'getLocation', [arg0]);
}

// exports.coolMethod = function (arg0, success, error) {
//     exec(success, error, 'LocationRecord', 'coolMethod', [arg0]);
// };
module.exports=new LocationRecordFunc();
